#ifndef __CRC_TOOLS
#define __CRC_TOOLS

#include "main.h"

uint16_t crc16_modbus(uint8_t *data, uint16_t length);

uint32_t crc32(uint8_t *data, uint16_t len);

uint8_t crc8_ccitt(const uint8_t *data, uint16_t length);

#endif // !__CRC_TOOLS
#include "main.h"